{
    "connected" : true,
    "now" : <?php echo $now; ?>,
    "expire" : <?php echo $expire; ?>,
    "isPlaying" : true,
    "room" :
        [
                <?php $go = false; foreach($player as $p){
            if($go){echo ',
                ';} $go = true;
            echo '{ "pseudo" : "'.$p['pseudo'].'", "hash" : "'.$p['hash'].'", "perso": '.$p['perso'].', "expire": '.$p['expire'].'}';   
        } ?>
        ]
}